/**
 * 
 */
package anysware.gwt.client;

import java.util.ArrayList;

/**
 * TODO: doc me
 * 
 * @author keke<keke@codehaus.org>
 * @revision $Revision: 102 $
 * @version
 */
public class ApplicationListenerSupport extends ArrayList<ApplicationListener> {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 3659874621351300628L;

	public void addListener(final ApplicationListener listener) {
		add(listener);
	}

	public void fireEvent(final ApplicationEvent event) {
		for (final ApplicationListener listener : this) {
			listener.fireEvent(event);
		}
	}

	public void removeListener(final ApplicationListener listener) {
		remove(listener);
	}

}
